/*
 * @Author: yangsongzhu 422540054@qq.com
 * @Date: 2023-12-11 16:35:46
 * @LastEditors: yangsongzhu 422540054@qq.com
 * @LastEditTime: 2023-12-12 11:07:18
 * @FilePath: \my-test-protect\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue' 
import App from './App.vue'

import router from './router'

import { createPinia } from 'pinia'
// 全局组件components
// import Components from '@/components';
// svg插件需要配置代码
import 'virtual:svg-icons-register'

// 引入自定义插件对象：注册整个项目全局组件
import gloalComponent from '@/components'

import('@/assets/css/index.scss')
import ElementPlus from 'element-plus'

const app = createApp(App)
const pinia = createPinia();
app.use(ElementPlus).use(router).use(gloalComponent).use(pinia)

app.mount('#app')